package com.swt.gap.dao;

import com.swt.gap.model.entity.TaskUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskUserMapper {
    int insert(TaskUser record);

    int insertSelective(TaskUser record);

    //通过任务id删除参与者记录
    int deleteByTaskId(Integer taskId);

    //通过任务id查找参与者id
    List<Integer> selectUserIdsByTaskId(Integer taskId);
}